﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Leiktuther.Models
{
    public class AppRepository : IAppRepository
    {
        public AppDataContext _db =  new AppDataContext();
        
        public IEnumerable<Game> Games
        {
            get 
            { 
                return _db.Games; 
            }
            set 
            { 
                
            }
        }

        public IEnumerable<GameInstance> Instances
        {
            get 
            { 
                return _db.GameInstances; 
            }
            set 
            { 
            
            }
        }

        public IEnumerable<Statistic> Statistics
        {
            get 
            { 
                return _db.Statistics; 
            }
            set 
            { 

            }
        }

        public IEnumerable<Player> Players
        {
            get 
            { 
                return _db.Players;  
            }
            set 
            { 
            
            }
        }
    }
}